package com.qdsg.ysg.doctor.util;

import android.app.Activity;
import android.view.View;

/**
 * Created by HP on 2020/3/17.
 */

public class ButtonUtil {


    public static void setButtonStatus(Activity activity, int id, boolean flag) {
        View v = activity.findViewById(id);
        v.setEnabled(flag);
    }
}
